﻿<%@ Page Language="C#" AutoEventWireup="true" ResponseEncoding="gb2312" CodeFile="WeekPlanMeet.aspx.cs"
    Inherits="QuarterPlan_QuarterPlanMeet" Theme="skin_control" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>周会议记录</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td class="firstbjcolor" colspan="8" style="height: 14px;">
                        <span class="currentHere">当前位置:周计划管理-&gt;周会议资料</span></td>
                </tr>
                <tr>
                    <td style="height: 1; width: 100%;">
                    </td>
                </tr>
                <tr>
                    <td colspan="8" style="background-repeat: repeat-x; background-image: url(../images/secondRow.gif); height: 30px;">
                        部门：<asp:DropDownList ID="drpDepartment" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                        </asp:DropDownList>
                       年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpYear_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>选择年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True"
                            SkinID="dropdownlistSkin" OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged">
                        </asp:DropDownList>月周期:<asp:DropDownList ID="drpMonthDate" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpMonthDate_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>周周期:<asp:DropDownList ID="drpWeekDate" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpWeekDate_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>
                        <asp:Button ID="btnAdd" runat="server" SkinID="buttonSkin" Text="添加" OnClick="btnAdd_Click" /></td>
                </tr>
                <tr>
                    <td style="height: 1px; width: 100%;">
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="gdvMeetRecord" runat="server" AutoGenerateColumns="False" DataKeyNames="MeetPath,MeetId"
                            SkinID="gridviewSkin" Width="100%" OnPageIndexChanging="gdvMeetRecord_PageIndexChanging"
                            OnRowDeleting="gdvMeetRecord_RowDeleting" OnRowUpdating="gdvMeetRecord_RowUpdating" OnRowDataBound="gdvMeetRecord_RowDataBound">
                            <Columns>
                                <asp:BoundField HeaderText="计划编号">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MeetTime" HeaderText="会议时间" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="90px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MeetPath" HeaderText="会议文件保存路径" Visible="False">
                                    <ItemStyle Width="0px" />
                                    <HeaderStyle Width="0px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MeetContent" HeaderText="会议内容" />
                                <asp:TemplateField HeaderText="附件下载">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDownLoad" runat="server" OnClick="btnDownLoad_Click" Text="下载"
                                            SkinID="buttonSkin" />
                                        <asp:Label ID="lblAlert" runat="server" Visible="False"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" Wrap="False" />
                                </asp:TemplateField>
                                <asp:ButtonField CommandName="update" HeaderText="修改" Text="修改" >
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
                                </asp:ButtonField>
                                <asp:ButtonField CommandName="delete" HeaderText="删除" Text="&lt;span onclick=&quot;javascript:return confirm('确认删除?')&quot;&gt;删除&lt;/span&gt;" >
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
                                </asp:ButtonField>
                                <asp:BoundField DataField="MeetId" HeaderText="id" Visible="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
